module;

#include <boost/asio.hpp>
#include <boost/mysql.hpp>

export module MySQL_run;
import std;
import MySQL_connect;

using namespace boost;

export namespace MySQL_run {
	class Run {
	public:
		Run(){
			MySQL_connect::connect();
		}
		void start() {
			std::string sql = "SELECT 'Hello world!'";
			mysql::results result;
			MySQL_connect::conn.execute(sql, result);
			
		}
		~Run() {
			MySQL_connect::conn.close();
		}
	};
}